package io.renren.modules.sys.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class DingdanDto {
    private String orderId;
    private int carId;
    private String carImgId;
    private String carName;
    private String carType;
    private int userId;
    private String carCode;
    private String userName;
    private String userEmail;
    @JsonFormat(locale = "zh",timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date useTime;
    private int price;
    private int totalPrice;
    private String pickupLocation;
    private String returnLocation;
    private int status;
    private String back;
}
